﻿using System;
using OA.DBUtility;

namespace OA.Model
{
    [MappingTable("projectPrizeView")]
    public partial class ProjectPrizeInfoView : ProjectPrizeInfo
    {
    }

    /// <summary>
    /// ProjectPrize:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    [MappingTable("projectPrize")]
    public partial class ProjectPrizeInfo
    {
        public ProjectPrizeInfo()
        { }
        #region Model
        private int _id;
        private string _projectid;
        private string _prizename;
        private DateTime? _prizetime;
        private string _awardcompany;
        private string _prizelevel;
        private string _grade;
        private string _prizeform;
        private string _certificateaddress;
        private DateTime _createtime = DateTime.Now;
        /// <summary>
        /// 
        /// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ProjectId")]
        public string ProjectId
        {
            set { _projectid = value; }
            get { return _projectid; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("PrizeName")]
        public string PrizeName
        {
            set { _prizename = value; }
            get { return _prizename; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("PrizeTime")]
        public DateTime? PrizeTime
        {
            set { _prizetime = value; }
            get { return _prizetime; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("AwardCompany")]
        public string AwardCompany
        {
            set { _awardcompany = value; }
            get { return _awardcompany; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("PrizeLevel")]
        public string PrizeLevel
        {
            set { _prizelevel = value; }
            get { return _prizelevel; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("Grade")]
        public string Grade
        {
            set { _grade = value; }
            get { return _grade; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("PrizeForm")]
        public string PrizeForm
        {
            set { _prizeform = value; }
            get { return _prizeform; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("CertificateAddress")]
        public string CertificateAddress
        {
            set { _certificateaddress = value; }
            get { return _certificateaddress; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("CreateTime")]
        public DateTime CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 类型0 工程 , 1 集成
        /// </summary>
        [DataField("InternalType")]
        public int InternalType { get; set; }
        #endregion Model

    }
}

